package com.cf.performance.core;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * game-server-PerformanceProperty
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/5/16 下午 01:24
 */

@Configuration
@ConfigurationProperties(prefix = "zmm.performance")
public class PerformanceProperty {

    //服务的名字
    private String name = "default";

    //上报的地址
    private String url = "http://127.0.0.1:9411";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}
